package com.project.mapper;

import com.project.bean.CityBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ICityMapper {
    @Select("select * from t_city where fk_contryId=#{id}")
    @ResultMap("cityMap")
    public List<CityBean> findByContry(int contryId);
}
